﻿using System.Windows.Controls;

namespace CredentialsManager.Controls
{
    /// <summary>
    /// Interaction logic for TitledTooltip.xaml
    /// </summary>
    public partial class TitledTooltip : UserControl
    {
        public TitledTooltip()
        {
            InitializeComponent();
        }

        public string Title
        {
            get
            {
                return lblTitle.Content.ToString();
            }
            set
            {
                lblTitle.Content = value;
            }
        }

        public string BodyText
        {
            get
            {
                return txtBodyText.Text;
            }
            set
            {
                txtBodyText.Text = value;
            }
        }
    }
}
